<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="__WAP__/css/common/normalize.css" />
    <link rel="stylesheet" href="__WAP__/css/common/reset.css" />
    <link rel="stylesheet" href="__WAP__/css/index.css" />
    <link rel="stylesheet" href="__WAP__/libs/swiper/swiper-4.2.2.min.css">
    <!-- 自定义swiper分页器样式 -->
    <style>
        .my-bullet {
            width: 8px;
            height: 8px;
            display: inline-block;
            border: 1px solid #000000;
            background: transparent;
            border-radius: 100%;
            margin: 0 4px;
        }

        .swiper-pagination-bullet-active {
            background: #000000;
            border: 0;
        }
    </style>
    <title>采矿家</title>
</head>

<body>
    <div class="container">
        <!-- header -->
        <header class="header">
            <div class="icon-menu" v-show="!showMenu" @click="openMenu()">
                <img src="__WAP__/images/icon_menu.png" alt="">
            </div>
            <div class="icon-close" v-show="showMenu" @click="closeMenu()">
                <img src="__WAP__/images/icon_close.png" alt="">
            </div>
            <div class="icon-logo">
                <img src="__WAP__/images/logo.jpg" alt="">
            </div>
            <div class="icon-user">
                <a href="{:U('login')}">
                    <img src="__WAP__/images/icon_user.png" alt="">
                </a>
            </div>
        </header>
        <!-- 菜单分类 -->
        <div class="menu" v-show="showMenu">
            <ul>
                <li class="active">
                    <a href="index.html">首页</a>
                </li>
                <li>
                    <a href="diamond.html">宝石</a>
                </li>
                <li>
                    <a href="service.html">定制服务</a>
                </li>
                <li>
                    <a href="purchasing.html">全球猎宝</a>
                </li>
                <li>
                    <a href="journal.html">采矿家日记</a>
                </li>
            </ul>
        </div>

        <div>
            {__CONTENT__}
        </div>
    </div>
</body>
<script src="__WAP__/libs/rem.js"></script>
<script src="__WAP__/libs/swiper/swiper-4.2.2.min.js"></script>
<script>
    var mySwiper = new Swiper('.swiper-container', {
        autoplay: true,
        loop: true,
        // 如果需要分页器
        pagination: {
            el: '.swiper-pagination',
            bulletClass: 'my-bullet',
            clickable: true
        }
    })
</script>
<script src="__WAP__/libs/vue.1.0.8.js"></script>
<script src="__WAP__/js/index.js"></script>

</html>